package com.xingshang.service;

import com.xingshang.pojo.Song;
import com.xingshang.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xingshang.utils.Result;
import org.springframework.web.multipart.MultipartFile;

/**
* @author 87547
* @description 针对表【user】的数据库操作Service
* @createDate 2024-12-05 22:15:33
*/
public interface UserService extends IService<User> {

    Result login(User user);

    Result getUserInfo(String token);

    Result checkUserName(String username);

    Result regist(User user);


    Result wxlogin(String code);

    Result uploadPhoto(MultipartFile file, String token);
}
